﻿<%@ Page Title="" Language="C#" MasterPageFile="~/banganyemian/banganyemian.Master" AutoEventWireup="true" CodeBehind="banjiangcheng.aspx.cs" Inherits="zlh.banganyemian.banjiangcheng" %>
<asp:Content ID="Content1" ContentPlaceHolderID="banContentPlaceHolder1" runat="server">
    <p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label1" runat="server" CssClass="word" Text="学号："></asp:Label>
    <asp:TextBox ID="stuno" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;&nbsp; <asp:Button ID="readbtn" runat="server" CssClass="button" Text="查询" OnClick="readbtn_Click" />
    </p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label2" runat="server" CssClass="word" Text="姓名："></asp:Label>
    <asp:TextBox ID="stuname" runat="server" CssClass="textbox"></asp:TextBox>
    </p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label3" runat="server" CssClass="word" Text="奖惩类别："></asp:Label>
    <asp:TextBox ID="leibietxt" runat="server" CssClass="textbox"></asp:TextBox>
    </p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label4" runat="server" CssClass="word" Text="奖惩信息："></asp:Label>
    <asp:TextBox ID="xinxitxt" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label5" runat="server" CssClass="word" Text="加分情况："></asp:Label>
    <asp:TextBox ID="jiafentxt" runat="server" CssClass="textbox"></asp:TextBox>
    </p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="update" runat="server" CssClass="button" Text="更新" OnClick="update_Click" />
&nbsp;&nbsp;
        <asp:Button ID="delete" runat="server" CssClass="button" Text="删除" OnClick="delete_Click" Width="62px" />
&nbsp;&nbsp;
        <asp:Button ID="add" runat="server" CssClass="button" Text="添加" OnClick="add_Click" />
        &nbsp;
        <asp:Label ID="lblInfo" runat="server" CssClass="lable"></asp:Label>
    &nbsp;</p>
<p>
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" Width="946px">
        <Columns>
            <asp:BoundField DataField="stuNo" HeaderText="stuNo" SortExpression="stuNo" />
            <asp:BoundField DataField="stuName" HeaderText="stuName" SortExpression="stuName" />
            <asp:BoundField DataField="jiangchengleibie" HeaderText="jiangchengleibie" SortExpression="jiangchengleibie" />
            <asp:BoundField DataField="text" HeaderText="text" SortExpression="text" />
            <asp:BoundField DataField="jiafenshu" HeaderText="jiafenshu" SortExpression="jiafenshu" />
        </Columns>
        <HeaderStyle CssClass="gridxiewHeaderstyle" />
        <RowStyle CssClass="gridviewrowstyle" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112130ConnectionString15 %>" SelectCommand="SELECT * FROM [jiangcheng]"></asp:SqlDataSource>
</p>
</asp:Content>
